﻿namespace Diploma.Validation
{
    public class ValidationError
    {
        public ValidationError(string fieldName, string message)
        {
            Message = message;
            FieldName = fieldName;
        }

        public string Message { get; set; }
        public string FieldName { get; set; }
    }
}